package com.example.wanxiang.entity;

import jakarta.persistence.Id;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

@Document
@Data
public class Group {
    @Id
    private String id ;

    private long userId ;

    private List<Long> userIds ;

    private String groupName ;

    private boolean status ;
}
